package com.lantosec.hmrp.modules.uploads.mapper;

import com.lantosec.hmrp.modules.uploads.entity.SysUploads;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 系统上传数据 Mapper 接口
 * </p>
 *
 * @author AutoCode
 * @since 2020-02-19
 */
public interface SysUploadsMapper extends BaseMapper<SysUploads> {
    /**
     * 通过id删除图片记录
     * @param uploadId
     * @return
     */
    public Boolean deleteFileById(@Param("uploadId") String uploadId);

    String queryPictureUrlById(String uploadId);
}
